翻訳と辞書
Words near each other
・ Re-Volt
・ Re-Volts
・ Re-Volts (EP)
・ Re-Wind
・ Re-Wired
・ Re. (Aya Ueto album)
・ Re.present
・ Re.press
・ Re/code
・ RE/MAX
・ RE/MAX World Long Drive Championship
・ Re/Oblivious
・ RE/Search
・ RE1-silencing transcription factor
・ RE2
RE2 (software)
・ RE3.org
・ Re3Group.com
・ RE5 (disambiguation)
・ RE5R01A
・ RE60
・ Rea
・ Rea (album)
・ Rea and Lillian Steele North Campus
・ Rea Award for the Short Story
・ Rea Brook
・ Rea Carey
・ Rea Garvey
・ REA Group
・ Rea Irvin


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

RE2 (software) : ウィキペディア英語版
RE2 (software)

RE2 is a software library for regular expressions via a finite-state machine using automata theory, in contrast to almost all other regular expression libraries, which use backtracking implementations. It provides a C++ interface.
RE2 was implemented and is used by Google.
==Comparison to PCRE==
"RE2" compares to Perl Compatible Regular Expressions (PCRE) in performance, but greatly exceeds PCRE for regular expression operators like ("|") (boolean "or").
RE2 does not support back-references, which cannot be implemented efficiently. It is also slightly slower than PCRE for parenthetic capturing operations, but is much faster for matching in general.
PCRE can use a large recursive stack and have exponential runtime on certain patterns. RE2 uses a fixed stack and guarantees that run-time increases linearly (not exponentially) with the size of the input. The maximum memory allocated with RE2 can be configured if you have good knowledge of the workings of its code.
Google's RE2 has a slightly smaller set of features than PCRE, but has very predictable run-time and a maximum memory allotment, making it suitable for use in server applications which require precise boundaries on memory usage and computational time. PCRE, on the other hand, has almost all of the features that a regular expression library can have, but has unpredictable run-time and memory usage and can grow unbounded.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「RE2 (software)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.